package com.hanj.service;

import com.hanj.dao.UserDao;
import com.hanj.entity.User;

public class UserService {

    // 这个属性将通过set方法被注入
    private UserDao userDao;

    public void showName(User user) {

        userDao.showName(user);
    }

    public void setUserDao(UserDao userDao) {

        this.userDao = userDao;
    }

}
